package thread.fenjiesuoyufenduansuo;

public class Test05 {
    public static void main(String[] args){

        DecomposeClazz decomposeClazz = new DecomposeClazz();

        Thread thread01 = new Thread(new Runnable() {
            @Override
            public void run() {
                decomposeClazz.addComputer("a");
            }
        });

        Thread thread02 = new Thread(new Runnable() {
            @Override
            public void run() {
                decomposeClazz.addUser("b");
            }
        });

        thread01.start();
        thread02.start();
    }
}
